<!--
 * @Author: your name
 * @Date: 2022-04-11 09:31:18
 * @LastEditTime: 2022-04-11 10:23:43
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \geyao\geyao\过滤出数组中重复的数组220411.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // var arrNum = [1, 2, 3, 4, 6, 8, 8, 9, 9, 1, 3];

   
    //   var str = arrNum.join(",")
    //   var newArr = []
    //   for (var i = 0; i < arrNum.length; i++) {
    //     if (str.indexOf(arrNum[i] != -1)) {
    //       newArr[newArr.length] = arrNum[i]
    //     }
    //   }
    //   while (str.indexOf(arrNum[i]) != -1) {
    //     str = str.replace(arrNum[i], " ")
    //   }
      
    
    // console.log(newArr)
    // console.log(str)
  </script>
</body>

</html>